package com.lagou.controller;

import com.lagou.service.PositionInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping(value = "/position")
@RestController
public class PositionInfoController {
    @Autowired
    private PositionInfoService positionInfoService;

    @RequestMapping(value = "/getList")
    public Object getList(String guavaKey){
        Object list = positionInfoService.getList(guavaKey);
        return list;
    }
}
